package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

/**
 * 
*    
* 项目名称：ArtworkArtA   
* 类名称   ：NoticeDetailParser   
* 类描述   ：通知详情   
* 创建人   ：耿卫斌   
* 创建时间：2016-5-20 下午4:06:08   
*
 */
public class NoticeDetailParser extends AppItem implements Serializable{
	private static final long serialVersionUID = 1L;
	private String content;
	private String path;
	private String title;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		content = obj.optString("content");
		path = obj.optString("path");
		title = obj.optString("title");
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public NoticeDetailParser() {
		super();
	}
	public NoticeDetailParser(String content, String path, String title) {
		super();
		this.content = content;
		this.path = path;
		this.title = title;
	}
	@Override
	public String toString() {
		return "NoticeDetailParser [content=" + content + ", path=" + path
				+ ", title=" + title + "]";
	}
}
